﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PSL.ST
{
    internal class DeclareFunctionNode : TreeNode
    {
        public DeclareFunctionNode(TreeNode Parent)
            : base(Parent, TreeNodeType.DeclareFunction)
        {

        }

        public string FunctionName
        {
            get;
            set;
        }

        public override TreeNode CloneNode()
        {
            DeclareFunctionNode returnNode = new DeclareFunctionNode(null);

            returnNode.FunctionName = this.FunctionName;

            return returnNode;
        }

        public override dynamic Execute(PSLEngine Engine)
        {
            return null;
        }
    }
}
